<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>selector9_层次选择器.html</title>
<style type="text/css">
	</style>
		<style type="text/css">
			input[type="text"] {
				background-color: red;
			}
			input[type="password"] {
				background-color: blue;
			}
		</style>
	</head>
	
	<body>
		用户名：<input type="text"/><br/>
		密码：<input type="password" /><br/>
	</body>
</html>
